#define excel()
<!doctype html>
<html lang="zh">
<head>
	<meta charset="UTF-8">
	<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1"> 
	<meta name="viewport" content="width=device-width, initial-scale=1.0">
	<title>#(title)</title>
	<link rel="stylesheet" type="text/css" href="../css/bootstrap.css">
	<link rel="stylesheet" href="../css/style2.css">
</head>
<body>
	<section class="htmleaf-container">
		<div class="container" style="padding:30px 0">
			<div class="row">
				<div class="md-col-8">
					<div class="table-responsive table2excel" data-tableName="Test Table 1">
					   #@table()
					</div>
				</div>
			</div>
			<button id="btn" class="btn btn-primary">点击这里将表格内容导出到excel中</button>
		</div>
	</section>
	
	<script src="../js/jquery-2.1.1.min.js"></script>
	<script src="../js/jquery.table2excel.js"></script>
	<script>
		$(function() {
			$("#btn").click(function(){
				$(".table2excel").table2excel({
					exclude: ".noExl",
					name: "Excel Document Name",
					filename: "#(tableName)",
					exclude_img: true,
					exclude_links: true,
					exclude_inputs: true
				});
			});
			
		});
	</script>
</body>
</html>
#end